package com.eltsistemas.os.controller;

import java.io.File;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import br.com.graficafuxico.modelo.Blog;

@Controller
public class BlogController {
	
	@RequestMapping("/adiciona")
	public String adiciona(Blog blog, File f)
	{
		
		return "redirect:lista";
	}
	
	@RequestMapping("/lista")
	public String lista()
	{
		return "listaBlog";
	}
}
